package com.coocaa.ops.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration;
import org.springframework.boot.autoconfigure.web.servlet.MultipartAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(exclude = {QuartzAutoConfiguration.class, MultipartAutoConfiguration.class})
@ComponentScan(basePackages = {"com.coocaa.ops.admin", "com.coocaa.ops.common.core","com.coocaa.ops.common.tool", "com.coocaa.ops.plus.dashboard","com.coocaa.ops.plus.core"})
/**
 * 开启事物
 */
@EnableTransactionManagement(proxyTargetClass = true)
/**
 * 开启切面
 */
@EnableAspectJAutoProxy(proxyTargetClass = true)
public class ApeOpsAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(ApeOpsAdminApplication.class, args);
    }

}
